#ifndef IOS_OCR_H
#define IOS_OCR_H
#import <UIKit/UIKit.h>
#include "Globaltypedef.h"
NSString *TREC_GetVersionArray();
NSString *TREC_GetCopyrightInfoArray();
NSString *TREC_GetTimeStatus();
NSString *TREC_GetEngineTimeKEY();
Gint TREC_StartUP(NSString *TimeKey);
Gint TREC_SetParam(TPARAM euType, void* pValue);
Gint TREC_GetParam(TPARAM euType, void* pValue);
Gint TREC_GetSupportEngine(TCARD_TYPE iCardType);
Gint TREC_SetSupportEngine(TCARD_TYPE iCardType);
Gint TREC_LoadImage(UIImage *uimage);
Gint TREC_LoadImage_Ex(NSString *pImagePath);
Gint TREC_JudgeExist(Gint x1, Gint y1, Gint x2, Gint y2);
Gint TREC_SaveImage(NSString *pImagePath);
Gint TREC_OCR();
Gint TREC_FreeImage();
TCARD_TYPE TREC_GetCardType();
NSString *TREC_GetOcrString();
NSString *TREC_GetFieldString(TFIELDID  field);
UIImage *TREC_GetFieldImage(TFIELDID  field);
NSString *TREC_GetJsonStringBuffer();
Gint  TREC_GetCardNumState();
UIImage *TREC_GetHeadImage();
Gint TREC_SaveHeadImage(NSString *path);
Gint TREC_ClearUP();
Gint TBANK_LoadImage(UIImage *uimage);      
Gint TBANK_LoadImage_Ex1(NSString *pImagePath);
Gint TBANK_JudgeExist(Gint x1, Gint y1, Gint x2, Gint y2); 
Gint TBANK_OCR();
Gint TBANK_SaveImage(NSString *ImagePath);   
Gint TBANK_FreeImage();                      
UIImage *TBANK_GetSmallImage();             
NSString *TBANK_GetBankInfoString(TGETBANKINFOID tGetBankId);   
NSString *TBANK_GetPublicBankInfoString(TGETBANKINFOID tGetBankId,NSString *BankCardNum);
#endif
